package com.masiyi.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.masiyi.entity.User;
import com.masiyi.service.UserService;

/**
 * @className: UserServiceImpl
 * @description:
 * @author: cxd
 * @date: 2025/06/19 16:34
 **/
@Service(version = "1.0.0")
public class UserServiceImpl implements UserService {
    @Override
    public String queryUser(User user) throws InterruptedException {
        System.out.println("重试次数+1");
        Thread.sleep(6000);
        System.out.println(user.toString());
        return "2";
    }
}
